package com.yc.sole.erp.response;

import com.yc.sole.erp.enums.ShipmentType;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * Resp对象
 *
 * @author yizuomin
 * @date 2024-01-16
 **/
@Data
public class ShipmentResp implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 送货单号
     */
    private String shipmentNo;
    /**
     * 送货日期
     */
    private String shipmentDate;
    /**
     * 客户id
     */
    private Long customerId;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 送货数量
     */
    private Integer quantity;
    /**
     * 备注
     */
    private String remark;
    /**
     * 送货方式
     */
    private ShipmentType shipmentType;
    /**
     * 承运商/物流公司
     */
    private String carrier;
    /**
     * 物流单号
     */
    private String trackingNo;
    /**
     * 运费
     */
    private BigDecimal shipCost;
    /**
     * 收件人名称
     */
    private String recipientName;
    /**
     * 收件人手机号
     */
    private String recipientPhoneNum;
    /**
     * 送货地址
     */
    private String recipientAddress;
    /**
     * 总金额
     */
    private BigDecimal amount;
    /**
     * 送货详情
     */
    private List<ShipmentOrderResp> orderList;
}
